package com.bl.student.dao.repository;

import com.bl.student.dao.model.InviteEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by yujingyi on 2018/2/8.
 */
public interface InviteRepository extends JpaRepository<InviteEntity, String> {
    List<InviteEntity> findByInviterId(String inviterId);

    InviteEntity findByInviteeId(String inviteeId);
}
